package cn.torna.tornaexample.controller.eg.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author thc
 */
@Data
public class CommonPage<T> {

    @ApiModelProperty("数据列表")
    private List<T> records;

    @ApiModelProperty(value = "总数", example = "100")
    private Integer total;

    @ApiModelProperty(value = "size", example = "10")
    private Integer size;

    @ApiModelProperty(value = "current", example = "1")
    private Integer current;

}
